using System;
using System.Collections.Generic;

namespace Core
{
    public class SalesInvoice
    {
        //Nomor Invoice		Edit
        //Tanggal Invoice		Edit
        //Nomor S J		Select
        //Customer		Auto S J / Edit
        //Currency		Auto SO / Edit
        //Rate		Auto SO / Edit
        //Term		Auto SO / Edit
        //PPN		Auto SO / Edit
        //Keterangan		Edit

        public virtual String SINo { get; set; }
        public virtual DateTime InvoiceDate { get; set; }
        public virtual DeliveryOrder DeliveryOrder { get; set; }
        public virtual Customer Customer { get; set; }
        public virtual Currency Currency { get; set; }
        public virtual Decimal Rate { get; set; }
        public virtual string Term { get; set; }
        public virtual Decimal Ppn { get; set; }
        public virtual string Keterangan { get; set; }
        public virtual string created_by { get; set; }
        public virtual DateTime? created_date { get; set; }
        public virtual string modified_by { get; set; }
        public virtual DateTime? modified_date { get; set; }
        public virtual IList<SalesInvoiceDetail> SalesInvoiceDetails { get; set; }
        public virtual Decimal Discount { get; set; }
        public virtual string DiscountType { get; set; }
        public virtual int Status { get; set; }
        public virtual CostCenter CostCenter { get; set; }
        public virtual Employee Salesman { get; set; }
        public virtual string CustomerName{ get; set; }
        public virtual string NamaDepan { get; set; }
        public virtual string PSNo { get; set; }
        public virtual string SONo { get; set; }
        public virtual string DONo { get; set; }
        public virtual string CurrencyCode { get; set; }
    }
}